package com.wengu.algorithm.service;

import com.wengu.algorithm.alg.QAOTO;
import com.wengu.algorithm.alg.QEA;
import com.wengu.algorithm.alg.QPA;
import com.wengu.algorithm.entity.AssignmentOutcome;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wengu.algorithm.entity.TaskAssignmentScenario;

/**
 * <p>
 * 模拟任务分配结果 服务类
 * </p>
 *
 * @author wanghailei
 * @since 2025-02-23
 */
public interface AssignmentOutcomeService extends IService<AssignmentOutcome> {
    AssignmentOutcome saveOutComeInit(TaskAssignmentScenario taskAssignmentScenario, String algName, QEA alg, String qualityFunction, String weightWay);

    void updateQuality(AssignmentOutcome assignmentOutcome);

    AssignmentOutcome saveOutComeInitForQPA(TaskAssignmentScenario taskAssignmentScenario, String algName, QPA alg, String qualityFunction);

    AssignmentOutcome saveOutComeInit(TaskAssignmentScenario taskAssignmentScenario, String algName, QAOTO alg, String qualityFunction, String weightWay);
}
